﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsContracts" targetNamespace="http://tempuri.org/dsContracts.xsd" xmlns:mstns="http://tempuri.org/dsContracts.xsd" xmlns="http://tempuri.org/dsContracts.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="dsConnString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="dsConnString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DAL.Properties.Settings.GlobalReference.Default.dsConnString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ContractsTableAdapter" GeneratorDataComponentClassName="ContractsTableAdapter" Name="Contracts" UserDataComponentName="ContractsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="dsConnString (Settings)" DbObjectName="TIMS.dbo.Contracts" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Contracts] WHERE (([cntID] = @Original_cntID) AND ((@IsNull_PayType = 1 AND [PayType] IS NULL) OR ([PayType] = @Original_PayType)) AND ((@IsNull_PrsID = 1 AND [PrsID] IS NULL) OR ([PrsID] = @Original_PrsID)) AND ((@IsNull_Acc = 1 AND [Acc] IS NULL) OR ([Acc] = @Original_Acc)) AND ((@IsNull_cntNum = 1 AND [cntNum] IS NULL) OR ([cntNum] = @Original_cntNum)) AND ((@IsNull_cntVn = 1 AND [cntVn] IS NULL) OR ([cntVn] = @Original_cntVn)) AND ((@IsNull_cntD1 = 1 AND [cntD1] IS NULL) OR ([cntD1] = @Original_cntD1)) AND ((@IsNull_cntD2 = 1 AND [cntD2] IS NULL) OR ([cntD2] = @Original_cntD2)) AND ((@IsNull_cntD3 = 1 AND [cntD3] IS NULL) OR ([cntD3] = @Original_cntD3)) AND ((@IsNull_cntNote = 1 AND [cntNote] IS NULL) OR ([cntNote] = @Original_cntNote)) AND ((@IsNull_cntStatus = 1 AND [cntStatus] IS NULL) OR ([cntStatus] = @Original_cntStatus)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_cntID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PayType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PayType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_PayType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PayType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrsID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrsID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PrsID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrsID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Acc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Acc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Acc" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Acc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntNum" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cntNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cntNum" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntVn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntVn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_cntVn" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="cntVn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntD1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntD1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_cntD1" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntD2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntD2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_cntD2" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntD3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntD3" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_cntD3" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD3" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntNote" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntNote" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cntNote" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cntNote" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntStatus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntStatus" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_cntStatus" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="cntStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Contracts] ([PayType], [PrsID], [Acc], [cntNum], [cntVn], [cntD1], [cntD2], [cntD3], [cntText], [cntNote], [cntStatus]) VALUES (@PayType, @PrsID, @Acc, @cntNum, @cntVn, @cntD1, @cntD2, @cntD3, @cntText, @cntNote, @cntStatus);
SELECT cntID, PayType, PrsID, Acc, cntNum, cntVn, cntD1, cntD2, cntD3, cntText, cntNote, cntStatus FROM Contracts WHERE (cntID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@PayType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PayType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PrsID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrsID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Acc" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Acc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cntNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cntNum" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@cntVn" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="cntVn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@cntD1" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@cntD2" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@cntD3" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD3" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cntText" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="cntText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cntNote" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cntNote" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@cntStatus" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="cntStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT cntID, PayType, PrsID, Acc, cntNum, cntVn, cntD1, cntD2, cntD3, cntText, cntNote, cntStatus FROM dbo.Contracts</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Contracts] SET [PayType] = @PayType, [PrsID] = @PrsID, [Acc] = @Acc, [cntNum] = @cntNum, [cntVn] = @cntVn, [cntD1] = @cntD1, [cntD2] = @cntD2, [cntD3] = @cntD3, [cntText] = @cntText, [cntNote] = @cntNote, [cntStatus] = @cntStatus WHERE (([cntID] = @Original_cntID) AND ((@IsNull_PayType = 1 AND [PayType] IS NULL) OR ([PayType] = @Original_PayType)) AND ((@IsNull_PrsID = 1 AND [PrsID] IS NULL) OR ([PrsID] = @Original_PrsID)) AND ((@IsNull_Acc = 1 AND [Acc] IS NULL) OR ([Acc] = @Original_Acc)) AND ((@IsNull_cntNum = 1 AND [cntNum] IS NULL) OR ([cntNum] = @Original_cntNum)) AND ((@IsNull_cntVn = 1 AND [cntVn] IS NULL) OR ([cntVn] = @Original_cntVn)) AND ((@IsNull_cntD1 = 1 AND [cntD1] IS NULL) OR ([cntD1] = @Original_cntD1)) AND ((@IsNull_cntD2 = 1 AND [cntD2] IS NULL) OR ([cntD2] = @Original_cntD2)) AND ((@IsNull_cntD3 = 1 AND [cntD3] IS NULL) OR ([cntD3] = @Original_cntD3)) AND ((@IsNull_cntNote = 1 AND [cntNote] IS NULL) OR ([cntNote] = @Original_cntNote)) AND ((@IsNull_cntStatus = 1 AND [cntStatus] IS NULL) OR ([cntStatus] = @Original_cntStatus)));
SELECT cntID, PayType, PrsID, Acc, cntNum, cntVn, cntD1, cntD2, cntD3, cntText, cntNote, cntStatus FROM Contracts WHERE (cntID = @cntID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@PayType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PayType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PrsID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrsID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Acc" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Acc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cntNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cntNum" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@cntVn" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="cntVn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@cntD1" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@cntD2" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@cntD3" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD3" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cntText" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="cntText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cntNote" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cntNote" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@cntStatus" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="cntStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_cntID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PayType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PayType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_PayType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PayType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PrsID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrsID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PrsID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PrsID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Acc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Acc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Acc" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Acc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntNum" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cntNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cntNum" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntVn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntVn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_cntVn" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="cntVn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntD1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntD1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_cntD1" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntD2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntD2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_cntD2" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntD3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntD3" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_cntD3" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="cntD3" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntNote" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntNote" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_cntNote" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cntNote" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cntStatus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cntStatus" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_cntStatus" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="cntStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="cntID" ColumnName="cntID" DataSourceName="TIMS.dbo.Contracts" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@cntID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="cntID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="cntID" DataSetColumn="cntID" />
              <Mapping SourceColumn="PayType" DataSetColumn="PayType" />
              <Mapping SourceColumn="PrsID" DataSetColumn="PrsID" />
              <Mapping SourceColumn="Acc" DataSetColumn="Acc" />
              <Mapping SourceColumn="cntNum" DataSetColumn="cntNum" />
              <Mapping SourceColumn="cntVn" DataSetColumn="cntVn" />
              <Mapping SourceColumn="cntD1" DataSetColumn="cntD1" />
              <Mapping SourceColumn="cntD2" DataSetColumn="cntD2" />
              <Mapping SourceColumn="cntD3" DataSetColumn="cntD3" />
              <Mapping SourceColumn="cntText" DataSetColumn="cntText" />
              <Mapping SourceColumn="cntNote" DataSetColumn="cntNote" />
              <Mapping SourceColumn="cntStatus" DataSetColumn="cntStatus" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dsContracts" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="dsContracts" msprop:Generator_DataSetName="dsContracts" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Contracts" msprop:Generator_UserTableName="Contracts" msprop:Generator_RowDeletedName="ContractsRowDeleted" msprop:Generator_RowChangedName="ContractsRowChanged" msprop:Generator_RowClassName="ContractsRow" msprop:Generator_RowChangingName="ContractsRowChanging" msprop:Generator_RowEvArgName="ContractsRowChangeEvent" msprop:Generator_RowEvHandlerName="ContractsRowChangeEventHandler" msprop:Generator_TableClassName="ContractsDataTable" msprop:Generator_TableVarName="tableContracts" msprop:Generator_RowDeletingName="ContractsRowDeleting" msprop:Generator_TablePropName="Contracts">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="cntID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="cntID" msprop:Generator_ColumnVarNameInTable="columncntID" msprop:Generator_ColumnPropNameInRow="cntID" msprop:Generator_ColumnPropNameInTable="cntIDColumn" type="xs:int" />
              <xs:element name="PayType" msprop:Generator_UserColumnName="PayType" msprop:Generator_ColumnVarNameInTable="columnPayType" msprop:Generator_ColumnPropNameInRow="PayType" msprop:Generator_ColumnPropNameInTable="PayTypeColumn" type="xs:short" minOccurs="0" />
              <xs:element name="PrsID" msprop:Generator_UserColumnName="PrsID" msprop:Generator_ColumnVarNameInTable="columnPrsID" msprop:Generator_ColumnPropNameInRow="PrsID" msprop:Generator_ColumnPropNameInTable="PrsIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Acc" msprop:Generator_UserColumnName="Acc" msprop:Generator_ColumnVarNameInTable="columnAcc" msprop:Generator_ColumnPropNameInRow="Acc" msprop:Generator_ColumnPropNameInTable="AccColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntNum" msprop:Generator_UserColumnName="cntNum" msprop:Generator_ColumnVarNameInTable="columncntNum" msprop:Generator_ColumnPropNameInRow="cntNum" msprop:Generator_ColumnPropNameInTable="cntNumColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntVn" msprop:Generator_UserColumnName="cntVn" msprop:Generator_ColumnVarNameInTable="columncntVn" msprop:Generator_ColumnPropNameInRow="cntVn" msprop:Generator_ColumnPropNameInTable="cntVnColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="cntD1" msprop:Generator_UserColumnName="cntD1" msprop:Generator_ColumnVarNameInTable="columncntD1" msprop:Generator_ColumnPropNameInRow="cntD1" msprop:Generator_ColumnPropNameInTable="cntD1Column" type="xs:dateTime" minOccurs="0" />
              <xs:element name="cntD2" msprop:Generator_UserColumnName="cntD2" msprop:Generator_ColumnVarNameInTable="columncntD2" msprop:Generator_ColumnPropNameInRow="cntD2" msprop:Generator_ColumnPropNameInTable="cntD2Column" type="xs:dateTime" minOccurs="0" />
              <xs:element name="cntD3" msprop:Generator_UserColumnName="cntD3" msprop:Generator_ColumnVarNameInTable="columncntD3" msprop:Generator_ColumnPropNameInRow="cntD3" msprop:Generator_ColumnPropNameInTable="cntD3Column" type="xs:dateTime" minOccurs="0" />
              <xs:element name="cntText" msprop:Generator_UserColumnName="cntText" msprop:Generator_ColumnVarNameInTable="columncntText" msprop:Generator_ColumnPropNameInRow="cntText" msprop:Generator_ColumnPropNameInTable="cntTextColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntNote" msprop:Generator_UserColumnName="cntNote" msprop:Generator_ColumnVarNameInTable="columncntNote" msprop:Generator_ColumnPropNameInRow="cntNote" msprop:Generator_ColumnPropNameInTable="cntNoteColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntStatus" msprop:Generator_UserColumnName="cntStatus" msprop:Generator_ColumnVarNameInTable="columncntStatus" msprop:Generator_ColumnPropNameInRow="cntStatus" msprop:Generator_ColumnPropNameInTable="cntStatusColumn" type="xs:unsignedByte" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Contracts" />
      <xs:field xpath="mstns:cntID" />
    </xs:unique>
  </xs:element>
</xs:schema>